FROM openjdk:11
VOLUME /tmp/tomcat
ADD target/*.jar compass-server.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/urandom -Djava.awt.headless=true -Dfile.encoding=UTF-8 -DSERVER_HOME=/tmp/","-jar","/compass-server.jar"]